package com.wanyangproject.androidlearning.multiThread;

public class ThreadJoin extends Thread{

    public ThreadJoin(int a) {
        this.a = a;
    }

    private int a =0;

    @Override
    public void run() {
        a++;
        System.out.println("当前的值为"+a);
    }

}
